calling a function in c program